import instance from '@/util/request'

// 首页推荐页签
export function getMiniAppRecommendFeedsTab(data) {
    return instance({
        url: '/getMiniAppRecommendFeedsTab',
        method: 'post',
        data
    })
}

// 首页推荐商品
export function getMiniAppRecommendFeeds(data) {
    return instance({
        url:'/home/getMiniAppRecommendFeeds',
        // url: '/getMiniAppRecommendFeeds',
        method: 'post',
        data
    })
}

// 商品详情页相关推荐
export function getGoodRecommand() {
    return instance({
        url: '/goodsId/recommend',
        method: 'post',
        data:{
            "goodsId": this.goodId,
            "spmUrl": ""
        }
    })
}
